package com.jsh.erp.datasource.entities;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class AccountHeadExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public AccountHeadExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("type is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("type is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(String value) {
            addCriterion("type =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(String value) {
            addCriterion("type <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(String value) {
            addCriterion("type >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(String value) {
            addCriterion("type >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(String value) {
            addCriterion("type <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(String value) {
            addCriterion("type <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLike(String value) {
            addCriterion("type like", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotLike(String value) {
            addCriterion("type not like", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<String> values) {
            addCriterion("type in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<String> values) {
            addCriterion("type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(String value1, String value2) {
            addCriterion("type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(String value1, String value2) {
            addCriterion("type not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andOrganIdIsNull() {
            addCriterion("organ_id is null");
            return (Criteria) this;
        }

        public Criteria andOrganIdIsNotNull() {
            addCriterion("organ_id is not null");
            return (Criteria) this;
        }

        public Criteria andOrganIdEqualTo(String value) {
            addCriterion("organ_id =", value, "organId");
            return (Criteria) this;
        }

        public Criteria andOrganIdNotEqualTo(String value) {
            addCriterion("organ_id <>", value, "organId");
            return (Criteria) this;
        }

        public Criteria andOrganIdGreaterThan(String value) {
            addCriterion("organ_id >", value, "organId");
            return (Criteria) this;
        }

        public Criteria andOrganIdGreaterThanOrEqualTo(String value) {
            addCriterion("organ_id >=", value, "organId");
            return (Criteria) this;
        }

        public Criteria andOrganIdLessThan(String value) {
            addCriterion("organ_id <", value, "organId");
            return (Criteria) this;
        }

        public Criteria andOrganIdLessThanOrEqualTo(String value) {
            addCriterion("organ_id <=", value, "organId");
            return (Criteria) this;
        }

        public Criteria andOrganIdLike(String value) {
            addCriterion("organ_id like", value, "organId");
            return (Criteria) this;
        }

        public Criteria andOrganIdNotLike(String value) {
            addCriterion("organ_id not like", value, "organId");
            return (Criteria) this;
        }

        public Criteria andOrganIdIn(List<String> values) {
            addCriterion("organ_id in", values, "organId");
            return (Criteria) this;
        }

        public Criteria andOrganIdNotIn(List<String> values) {
            addCriterion("organ_id not in", values, "organId");
            return (Criteria) this;
        }

        public Criteria andOrganIdBetween(String value1, String value2) {
            addCriterion("organ_id between", value1, value2, "organId");
            return (Criteria) this;
        }

        public Criteria andOrganIdNotBetween(String value1, String value2) {
            addCriterion("organ_id not between", value1, value2, "organId");
            return (Criteria) this;
        }

        public Criteria andHandsPersonIdIsNull() {
            addCriterion("hands_person_id is null");
            return (Criteria) this;
        }

        public Criteria andHandsPersonIdIsNotNull() {
            addCriterion("hands_person_id is not null");
            return (Criteria) this;
        }

        public Criteria andHandsPersonIdEqualTo(String value) {
            addCriterion("hands_person_id =", value, "handsPersonId");
            return (Criteria) this;
        }

        public Criteria andHandsPersonIdNotEqualTo(String value) {
            addCriterion("hands_person_id <>", value, "handsPersonId");
            return (Criteria) this;
        }

        public Criteria andHandsPersonIdGreaterThan(String value) {
            addCriterion("hands_person_id >", value, "handsPersonId");
            return (Criteria) this;
        }

        public Criteria andHandsPersonIdGreaterThanOrEqualTo(String value) {
            addCriterion("hands_person_id >=", value, "handsPersonId");
            return (Criteria) this;
        }

        public Criteria andHandsPersonIdLessThan(String value) {
            addCriterion("hands_person_id <", value, "handsPersonId");
            return (Criteria) this;
        }

        public Criteria andHandsPersonIdLessThanOrEqualTo(String value) {
            addCriterion("hands_person_id <=", value, "handsPersonId");
            return (Criteria) this;
        }

        public Criteria andHandsPersonIdLike(String value) {
            addCriterion("hands_person_id like", value, "handsPersonId");
            return (Criteria) this;
        }

        public Criteria andHandsPersonIdNotLike(String value) {
            addCriterion("hands_person_id not like", value, "handsPersonId");
            return (Criteria) this;
        }

        public Criteria andHandsPersonIdIn(List<String> values) {
            addCriterion("hands_person_id in", values, "handsPersonId");
            return (Criteria) this;
        }

        public Criteria andHandsPersonIdNotIn(List<String> values) {
            addCriterion("hands_person_id not in", values, "handsPersonId");
            return (Criteria) this;
        }

        public Criteria andHandsPersonIdBetween(String value1, String value2) {
            addCriterion("hands_person_id between", value1, value2, "handsPersonId");
            return (Criteria) this;
        }

        public Criteria andHandsPersonIdNotBetween(String value1, String value2) {
            addCriterion("hands_person_id not between", value1, value2, "handsPersonId");
            return (Criteria) this;
        }

        public Criteria andCreatorIsNull() {
            addCriterion("creator is null");
            return (Criteria) this;
        }

        public Criteria andCreatorIsNotNull() {
            addCriterion("creator is not null");
            return (Criteria) this;
        }

        public Criteria andCreatorEqualTo(String value) {
            addCriterion("creator =", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorNotEqualTo(String value) {
            addCriterion("creator <>", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorGreaterThan(String value) {
            addCriterion("creator >", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorGreaterThanOrEqualTo(String value) {
            addCriterion("creator >=", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorLessThan(String value) {
            addCriterion("creator <", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorLessThanOrEqualTo(String value) {
            addCriterion("creator <=", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorLike(String value) {
            addCriterion("creator like", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorNotLike(String value) {
            addCriterion("creator not like", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorIn(List<String> values) {
            addCriterion("creator in", values, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorNotIn(List<String> values) {
            addCriterion("creator not in", values, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorBetween(String value1, String value2) {
            addCriterion("creator between", value1, value2, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorNotBetween(String value1, String value2) {
            addCriterion("creator not between", value1, value2, "creator");
            return (Criteria) this;
        }

        public Criteria andChangeAmountIsNull() {
            addCriterion("change_amount is null");
            return (Criteria) this;
        }

        public Criteria andChangeAmountIsNotNull() {
            addCriterion("change_amount is not null");
            return (Criteria) this;
        }

        public Criteria andChangeAmountEqualTo(BigDecimal value) {
            addCriterion("change_amount =", value, "changeAmount");
            return (Criteria) this;
        }

        public Criteria andChangeAmountNotEqualTo(BigDecimal value) {
            addCriterion("change_amount <>", value, "changeAmount");
            return (Criteria) this;
        }

        public Criteria andChangeAmountGreaterThan(BigDecimal value) {
            addCriterion("change_amount >", value, "changeAmount");
            return (Criteria) this;
        }

        public Criteria andChangeAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("change_amount >=", value, "changeAmount");
            return (Criteria) this;
        }

        public Criteria andChangeAmountLessThan(BigDecimal value) {
            addCriterion("change_amount <", value, "changeAmount");
            return (Criteria) this;
        }

        public Criteria andChangeAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("change_amount <=", value, "changeAmount");
            return (Criteria) this;
        }

        public Criteria andChangeAmountIn(List<BigDecimal> values) {
            addCriterion("change_amount in", values, "changeAmount");
            return (Criteria) this;
        }

        public Criteria andChangeAmountNotIn(List<BigDecimal> values) {
            addCriterion("change_amount not in", values, "changeAmount");
            return (Criteria) this;
        }

        public Criteria andChangeAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("change_amount between", value1, value2, "changeAmount");
            return (Criteria) this;
        }

        public Criteria andChangeAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("change_amount not between", value1, value2, "changeAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountMoneyIsNull() {
            addCriterion("discount_money is null");
            return (Criteria) this;
        }

        public Criteria andDiscountMoneyIsNotNull() {
            addCriterion("discount_money is not null");
            return (Criteria) this;
        }

        public Criteria andDiscountMoneyEqualTo(BigDecimal value) {
            addCriterion("discount_money =", value, "discountMoney");
            return (Criteria) this;
        }

        public Criteria andDiscountMoneyNotEqualTo(BigDecimal value) {
            addCriterion("discount_money <>", value, "discountMoney");
            return (Criteria) this;
        }

        public Criteria andDiscountMoneyGreaterThan(BigDecimal value) {
            addCriterion("discount_money >", value, "discountMoney");
            return (Criteria) this;
        }

        public Criteria andDiscountMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("discount_money >=", value, "discountMoney");
            return (Criteria) this;
        }

        public Criteria andDiscountMoneyLessThan(BigDecimal value) {
            addCriterion("discount_money <", value, "discountMoney");
            return (Criteria) this;
        }

        public Criteria andDiscountMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("discount_money <=", value, "discountMoney");
            return (Criteria) this;
        }

        public Criteria andDiscountMoneyIn(List<BigDecimal> values) {
            addCriterion("discount_money in", values, "discountMoney");
            return (Criteria) this;
        }

        public Criteria andDiscountMoneyNotIn(List<BigDecimal> values) {
            addCriterion("discount_money not in", values, "discountMoney");
            return (Criteria) this;
        }

        public Criteria andDiscountMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("discount_money between", value1, value2, "discountMoney");
            return (Criteria) this;
        }

        public Criteria andDiscountMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("discount_money not between", value1, value2, "discountMoney");
            return (Criteria) this;
        }

        public Criteria andTotalPriceIsNull() {
            addCriterion("total_price is null");
            return (Criteria) this;
        }

        public Criteria andTotalPriceIsNotNull() {
            addCriterion("total_price is not null");
            return (Criteria) this;
        }

        public Criteria andTotalPriceEqualTo(BigDecimal value) {
            addCriterion("total_price =", value, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceNotEqualTo(BigDecimal value) {
            addCriterion("total_price <>", value, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceGreaterThan(BigDecimal value) {
            addCriterion("total_price >", value, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("total_price >=", value, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceLessThan(BigDecimal value) {
            addCriterion("total_price <", value, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("total_price <=", value, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceIn(List<BigDecimal> values) {
            addCriterion("total_price in", values, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceNotIn(List<BigDecimal> values) {
            addCriterion("total_price not in", values, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_price between", value1, value2, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_price not between", value1, value2, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andAccountIdIsNull() {
            addCriterion("account_id is null");
            return (Criteria) this;
        }

        public Criteria andAccountIdIsNotNull() {
            addCriterion("account_id is not null");
            return (Criteria) this;
        }

        public Criteria andAccountIdEqualTo(String value) {
            addCriterion("account_id =", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdNotEqualTo(String value) {
            addCriterion("account_id <>", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdGreaterThan(String value) {
            addCriterion("account_id >", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdGreaterThanOrEqualTo(String value) {
            addCriterion("account_id >=", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdLessThan(String value) {
            addCriterion("account_id <", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdLessThanOrEqualTo(String value) {
            addCriterion("account_id <=", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdLike(String value) {
            addCriterion("account_id like", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdNotLike(String value) {
            addCriterion("account_id not like", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdIn(List<String> values) {
            addCriterion("account_id in", values, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdNotIn(List<String> values) {
            addCriterion("account_id not in", values, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdBetween(String value1, String value2) {
            addCriterion("account_id between", value1, value2, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdNotBetween(String value1, String value2) {
            addCriterion("account_id not between", value1, value2, "accountId");
            return (Criteria) this;
        }

        public Criteria andBillNoIsNull() {
            addCriterion("bill_no is null");
            return (Criteria) this;
        }

        public Criteria andBillNoIsNotNull() {
            addCriterion("bill_no is not null");
            return (Criteria) this;
        }

        public Criteria andBillNoEqualTo(String value) {
            addCriterion("bill_no =", value, "billNo");
            return (Criteria) this;
        }

        public Criteria andBillNoNotEqualTo(String value) {
            addCriterion("bill_no <>", value, "billNo");
            return (Criteria) this;
        }

        public Criteria andBillNoGreaterThan(String value) {
            addCriterion("bill_no >", value, "billNo");
            return (Criteria) this;
        }

        public Criteria andBillNoGreaterThanOrEqualTo(String value) {
            addCriterion("bill_no >=", value, "billNo");
            return (Criteria) this;
        }

        public Criteria andBillNoLessThan(String value) {
            addCriterion("bill_no <", value, "billNo");
            return (Criteria) this;
        }

        public Criteria andBillNoLessThanOrEqualTo(String value) {
            addCriterion("bill_no <=", value, "billNo");
            return (Criteria) this;
        }

        public Criteria andBillNoLike(String value) {
            addCriterion("bill_no like", value, "billNo");
            return (Criteria) this;
        }

        public Criteria andBillNoNotLike(String value) {
            addCriterion("bill_no not like", value, "billNo");
            return (Criteria) this;
        }

        public Criteria andBillNoIn(List<String> values) {
            addCriterion("bill_no in", values, "billNo");
            return (Criteria) this;
        }

        public Criteria andBillNoNotIn(List<String> values) {
            addCriterion("bill_no not in", values, "billNo");
            return (Criteria) this;
        }

        public Criteria andBillNoBetween(String value1, String value2) {
            addCriterion("bill_no between", value1, value2, "billNo");
            return (Criteria) this;
        }

        public Criteria andBillNoNotBetween(String value1, String value2) {
            addCriterion("bill_no not between", value1, value2, "billNo");
            return (Criteria) this;
        }

        public Criteria andBillTimeIsNull() {
            addCriterion("bill_time is null");
            return (Criteria) this;
        }

        public Criteria andBillTimeIsNotNull() {
            addCriterion("bill_time is not null");
            return (Criteria) this;
        }

        public Criteria andBillTimeEqualTo(Date value) {
            addCriterion("bill_time =", value, "billTime");
            return (Criteria) this;
        }

        public Criteria andBillTimeNotEqualTo(Date value) {
            addCriterion("bill_time <>", value, "billTime");
            return (Criteria) this;
        }

        public Criteria andBillTimeGreaterThan(Date value) {
            addCriterion("bill_time >", value, "billTime");
            return (Criteria) this;
        }

        public Criteria andBillTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("bill_time >=", value, "billTime");
            return (Criteria) this;
        }

        public Criteria andBillTimeLessThan(Date value) {
            addCriterion("bill_time <", value, "billTime");
            return (Criteria) this;
        }

        public Criteria andBillTimeLessThanOrEqualTo(Date value) {
            addCriterion("bill_time <=", value, "billTime");
            return (Criteria) this;
        }

        public Criteria andBillTimeIn(List<Date> values) {
            addCriterion("bill_time in", values, "billTime");
            return (Criteria) this;
        }

        public Criteria andBillTimeNotIn(List<Date> values) {
            addCriterion("bill_time not in", values, "billTime");
            return (Criteria) this;
        }

        public Criteria andBillTimeBetween(Date value1, Date value2) {
            addCriterion("bill_time between", value1, value2, "billTime");
            return (Criteria) this;
        }

        public Criteria andBillTimeNotBetween(Date value1, Date value2) {
            addCriterion("bill_time not between", value1, value2, "billTime");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andFileNameIsNull() {
            addCriterion("file_name is null");
            return (Criteria) this;
        }

        public Criteria andFileNameIsNotNull() {
            addCriterion("file_name is not null");
            return (Criteria) this;
        }

        public Criteria andFileNameEqualTo(String value) {
            addCriterion("file_name =", value, "fileName");
            return (Criteria) this;
        }

        public Criteria andFileNameNotEqualTo(String value) {
            addCriterion("file_name <>", value, "fileName");
            return (Criteria) this;
        }

        public Criteria andFileNameGreaterThan(String value) {
            addCriterion("file_name >", value, "fileName");
            return (Criteria) this;
        }

        public Criteria andFileNameGreaterThanOrEqualTo(String value) {
            addCriterion("file_name >=", value, "fileName");
            return (Criteria) this;
        }

        public Criteria andFileNameLessThan(String value) {
            addCriterion("file_name <", value, "fileName");
            return (Criteria) this;
        }

        public Criteria andFileNameLessThanOrEqualTo(String value) {
            addCriterion("file_name <=", value, "fileName");
            return (Criteria) this;
        }

        public Criteria andFileNameLike(String value) {
            addCriterion("file_name like", value, "fileName");
            return (Criteria) this;
        }

        public Criteria andFileNameNotLike(String value) {
            addCriterion("file_name not like", value, "fileName");
            return (Criteria) this;
        }

        public Criteria andFileNameIn(List<String> values) {
            addCriterion("file_name in", values, "fileName");
            return (Criteria) this;
        }

        public Criteria andFileNameNotIn(List<String> values) {
            addCriterion("file_name not in", values, "fileName");
            return (Criteria) this;
        }

        public Criteria andFileNameBetween(String value1, String value2) {
            addCriterion("file_name between", value1, value2, "fileName");
            return (Criteria) this;
        }

        public Criteria andFileNameNotBetween(String value1, String value2) {
            addCriterion("file_name not between", value1, value2, "fileName");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andTenantIdIsNull() {
            addCriterion("tenant_id is null");
            return (Criteria) this;
        }

        public Criteria andTenantIdIsNotNull() {
            addCriterion("tenant_id is not null");
            return (Criteria) this;
        }

        public Criteria andTenantIdEqualTo(String value) {
            addCriterion("tenant_id =", value, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdNotEqualTo(String value) {
            addCriterion("tenant_id <>", value, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdGreaterThan(String value) {
            addCriterion("tenant_id >", value, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdGreaterThanOrEqualTo(String value) {
            addCriterion("tenant_id >=", value, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdLessThan(String value) {
            addCriterion("tenant_id <", value, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdLessThanOrEqualTo(String value) {
            addCriterion("tenant_id <=", value, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdLike(String value) {
            addCriterion("tenant_id like", value, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdNotLike(String value) {
            addCriterion("tenant_id not like", value, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdIn(List<String> values) {
            addCriterion("tenant_id in", values, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdNotIn(List<String> values) {
            addCriterion("tenant_id not in", values, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdBetween(String value1, String value2) {
            addCriterion("tenant_id between", value1, value2, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdNotBetween(String value1, String value2) {
            addCriterion("tenant_id not between", value1, value2, "tenantId");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagIsNull() {
            addCriterion("delete_flag is null");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagIsNotNull() {
            addCriterion("delete_flag is not null");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagEqualTo(String value) {
            addCriterion("delete_flag =", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagNotEqualTo(String value) {
            addCriterion("delete_flag <>", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagGreaterThan(String value) {
            addCriterion("delete_flag >", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagGreaterThanOrEqualTo(String value) {
            addCriterion("delete_flag >=", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagLessThan(String value) {
            addCriterion("delete_flag <", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagLessThanOrEqualTo(String value) {
            addCriterion("delete_flag <=", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagLike(String value) {
            addCriterion("delete_flag like", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagNotLike(String value) {
            addCriterion("delete_flag not like", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagIn(List<String> values) {
            addCriterion("delete_flag in", values, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagNotIn(List<String> values) {
            addCriterion("delete_flag not in", values, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagBetween(String value1, String value2) {
            addCriterion("delete_flag between", value1, value2, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagNotBetween(String value1, String value2) {
            addCriterion("delete_flag not between", value1, value2, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andUploadFlagIsNull() {
            addCriterion("upload_flag is null");
            return (Criteria) this;
        }

        public Criteria andUploadFlagIsNotNull() {
            addCriterion("upload_flag is not null");
            return (Criteria) this;
        }

        public Criteria andUploadFlagEqualTo(String value) {
            addCriterion("upload_flag =", value, "uploadFlag");
            return (Criteria) this;
        }

        public Criteria andUploadFlagNotEqualTo(String value) {
            addCriterion("upload_flag <>", value, "uploadFlag");
            return (Criteria) this;
        }

        public Criteria andUploadFlagGreaterThan(String value) {
            addCriterion("upload_flag >", value, "uploadFlag");
            return (Criteria) this;
        }

        public Criteria andUploadFlagGreaterThanOrEqualTo(String value) {
            addCriterion("upload_flag >=", value, "uploadFlag");
            return (Criteria) this;
        }

        public Criteria andUploadFlagLessThan(String value) {
            addCriterion("upload_flag <", value, "uploadFlag");
            return (Criteria) this;
        }

        public Criteria andUploadFlagLessThanOrEqualTo(String value) {
            addCriterion("upload_flag <=", value, "uploadFlag");
            return (Criteria) this;
        }

        public Criteria andUploadFlagLike(String value) {
            addCriterion("upload_flag like", value, "uploadFlag");
            return (Criteria) this;
        }

        public Criteria andUploadFlagNotLike(String value) {
            addCriterion("upload_flag not like", value, "uploadFlag");
            return (Criteria) this;
        }

        public Criteria andUploadFlagIn(List<String> values) {
            addCriterion("upload_flag in", values, "uploadFlag");
            return (Criteria) this;
        }

        public Criteria andUploadFlagNotIn(List<String> values) {
            addCriterion("upload_flag not in", values, "uploadFlag");
            return (Criteria) this;
        }

        public Criteria andUploadFlagBetween(String value1, String value2) {
            addCriterion("upload_flag between", value1, value2, "uploadFlag");
            return (Criteria) this;
        }

        public Criteria andUploadFlagNotBetween(String value1, String value2) {
            addCriterion("upload_flag not between", value1, value2, "uploadFlag");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andNumberIsNull() {
            addCriterion("number is null");
            return (Criteria) this;
        }

        public Criteria andNumberIsNotNull() {
            addCriterion("number is not null");
            return (Criteria) this;
        }

        public Criteria andNumberEqualTo(String value) {
            addCriterion("number =", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberNotEqualTo(String value) {
            addCriterion("number <>", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberGreaterThan(String value) {
            addCriterion("number >", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberGreaterThanOrEqualTo(String value) {
            addCriterion("number >=", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberLessThan(String value) {
            addCriterion("number <", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberLessThanOrEqualTo(String value) {
            addCriterion("number <=", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberLike(String value) {
            addCriterion("number like", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberNotLike(String value) {
            addCriterion("number not like", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberIn(List<String> values) {
            addCriterion("number in", values, "number");
            return (Criteria) this;
        }

        public Criteria andNumberNotIn(List<String> values) {
            addCriterion("number not in", values, "number");
            return (Criteria) this;
        }

        public Criteria andNumberBetween(String value1, String value2) {
            addCriterion("number between", value1, value2, "number");
            return (Criteria) this;
        }

        public Criteria andNumberNotBetween(String value1, String value2) {
            addCriterion("number not between", value1, value2, "number");
            return (Criteria) this;
        }

        public Criteria andTaxInvoiceNoIsNull() {
            addCriterion("tax_invoice_no is null");
            return (Criteria) this;
        }

        public Criteria andTaxInvoiceNoIsNotNull() {
            addCriterion("tax_invoice_no is not null");
            return (Criteria) this;
        }

        public Criteria andTaxInvoiceNoEqualTo(String value) {
            addCriterion("tax_invoice_no =", value, "taxInvoiceNo");
            return (Criteria) this;
        }

        public Criteria andTaxInvoiceNoNotEqualTo(String value) {
            addCriterion("tax_invoice_no <>", value, "taxInvoiceNo");
            return (Criteria) this;
        }

        public Criteria andTaxInvoiceNoGreaterThan(String value) {
            addCriterion("tax_invoice_no >", value, "taxInvoiceNo");
            return (Criteria) this;
        }

        public Criteria andTaxInvoiceNoGreaterThanOrEqualTo(String value) {
            addCriterion("tax_invoice_no >=", value, "taxInvoiceNo");
            return (Criteria) this;
        }

        public Criteria andTaxInvoiceNoLessThan(String value) {
            addCriterion("tax_invoice_no <", value, "taxInvoiceNo");
            return (Criteria) this;
        }

        public Criteria andTaxInvoiceNoLessThanOrEqualTo(String value) {
            addCriterion("tax_invoice_no <=", value, "taxInvoiceNo");
            return (Criteria) this;
        }

        public Criteria andTaxInvoiceNoLike(String value) {
            addCriterion("tax_invoice_no like", value, "taxInvoiceNo");
            return (Criteria) this;
        }

        public Criteria andTaxInvoiceNoNotLike(String value) {
            addCriterion("tax_invoice_no not like", value, "taxInvoiceNo");
            return (Criteria) this;
        }

        public Criteria andTaxInvoiceNoIn(List<String> values) {
            addCriterion("tax_invoice_no in", values, "taxInvoiceNo");
            return (Criteria) this;
        }

        public Criteria andTaxInvoiceNoNotIn(List<String> values) {
            addCriterion("tax_invoice_no not in", values, "taxInvoiceNo");
            return (Criteria) this;
        }

        public Criteria andTaxInvoiceNoBetween(String value1, String value2) {
            addCriterion("tax_invoice_no between", value1, value2, "taxInvoiceNo");
            return (Criteria) this;
        }

        public Criteria andTaxInvoiceNoNotBetween(String value1, String value2) {
            addCriterion("tax_invoice_no not between", value1, value2, "taxInvoiceNo");
            return (Criteria) this;
        }

        public Criteria andDepotIdIsNull() {
            addCriterion("depot_id is null");
            return (Criteria) this;
        }

        public Criteria andDepotIdIsNotNull() {
            addCriterion("depot_id is not null");
            return (Criteria) this;
        }

        public Criteria andDepotIdEqualTo(String value) {
            addCriterion("depot_id =", value, "depotId");
            return (Criteria) this;
        }

        public Criteria andDepotIdNotEqualTo(String value) {
            addCriterion("depot_id <>", value, "depotId");
            return (Criteria) this;
        }

        public Criteria andDepotIdGreaterThan(String value) {
            addCriterion("depot_id >", value, "depotId");
            return (Criteria) this;
        }

        public Criteria andDepotIdGreaterThanOrEqualTo(String value) {
            addCriterion("depot_id >=", value, "depotId");
            return (Criteria) this;
        }

        public Criteria andDepotIdLessThan(String value) {
            addCriterion("depot_id <", value, "depotId");
            return (Criteria) this;
        }

        public Criteria andDepotIdLessThanOrEqualTo(String value) {
            addCriterion("depot_id <=", value, "depotId");
            return (Criteria) this;
        }

        public Criteria andDepotIdLike(String value) {
            addCriterion("depot_id like", value, "depotId");
            return (Criteria) this;
        }

        public Criteria andDepotIdNotLike(String value) {
            addCriterion("depot_id not like", value, "depotId");
            return (Criteria) this;
        }

        public Criteria andDepotIdIn(List<String> values) {
            addCriterion("depot_id in", values, "depotId");
            return (Criteria) this;
        }

        public Criteria andDepotIdNotIn(List<String> values) {
            addCriterion("depot_id not in", values, "depotId");
            return (Criteria) this;
        }

        public Criteria andDepotIdBetween(String value1, String value2) {
            addCriterion("depot_id between", value1, value2, "depotId");
            return (Criteria) this;
        }

        public Criteria andDepotIdNotBetween(String value1, String value2) {
            addCriterion("depot_id not between", value1, value2, "depotId");
            return (Criteria) this;
        }

        public Criteria andCustom1IsNull() {
            addCriterion("custom_1 is null");
            return (Criteria) this;
        }

        public Criteria andCustom1IsNotNull() {
            addCriterion("custom_1 is not null");
            return (Criteria) this;
        }

        public Criteria andCustom1EqualTo(String value) {
            addCriterion("custom_1 =", value, "custom1");
            return (Criteria) this;
        }

        public Criteria andCustom1NotEqualTo(String value) {
            addCriterion("custom_1 <>", value, "custom1");
            return (Criteria) this;
        }

        public Criteria andCustom1GreaterThan(String value) {
            addCriterion("custom_1 >", value, "custom1");
            return (Criteria) this;
        }

        public Criteria andCustom1GreaterThanOrEqualTo(String value) {
            addCriterion("custom_1 >=", value, "custom1");
            return (Criteria) this;
        }

        public Criteria andCustom1LessThan(String value) {
            addCriterion("custom_1 <", value, "custom1");
            return (Criteria) this;
        }

        public Criteria andCustom1LessThanOrEqualTo(String value) {
            addCriterion("custom_1 <=", value, "custom1");
            return (Criteria) this;
        }

        public Criteria andCustom1Like(String value) {
            addCriterion("custom_1 like", value, "custom1");
            return (Criteria) this;
        }

        public Criteria andCustom1NotLike(String value) {
            addCriterion("custom_1 not like", value, "custom1");
            return (Criteria) this;
        }

        public Criteria andCustom1In(List<String> values) {
            addCriterion("custom_1 in", values, "custom1");
            return (Criteria) this;
        }

        public Criteria andCustom1NotIn(List<String> values) {
            addCriterion("custom_1 not in", values, "custom1");
            return (Criteria) this;
        }

        public Criteria andCustom1Between(String value1, String value2) {
            addCriterion("custom_1 between", value1, value2, "custom1");
            return (Criteria) this;
        }

        public Criteria andCustom1NotBetween(String value1, String value2) {
            addCriterion("custom_1 not between", value1, value2, "custom1");
            return (Criteria) this;
        }

        public Criteria andCustom2IsNull() {
            addCriterion("custom_2 is null");
            return (Criteria) this;
        }

        public Criteria andCustom2IsNotNull() {
            addCriterion("custom_2 is not null");
            return (Criteria) this;
        }

        public Criteria andCustom2EqualTo(String value) {
            addCriterion("custom_2 =", value, "custom2");
            return (Criteria) this;
        }

        public Criteria andCustom2NotEqualTo(String value) {
            addCriterion("custom_2 <>", value, "custom2");
            return (Criteria) this;
        }

        public Criteria andCustom2GreaterThan(String value) {
            addCriterion("custom_2 >", value, "custom2");
            return (Criteria) this;
        }

        public Criteria andCustom2GreaterThanOrEqualTo(String value) {
            addCriterion("custom_2 >=", value, "custom2");
            return (Criteria) this;
        }

        public Criteria andCustom2LessThan(String value) {
            addCriterion("custom_2 <", value, "custom2");
            return (Criteria) this;
        }

        public Criteria andCustom2LessThanOrEqualTo(String value) {
            addCriterion("custom_2 <=", value, "custom2");
            return (Criteria) this;
        }

        public Criteria andCustom2Like(String value) {
            addCriterion("custom_2 like", value, "custom2");
            return (Criteria) this;
        }

        public Criteria andCustom2NotLike(String value) {
            addCriterion("custom_2 not like", value, "custom2");
            return (Criteria) this;
        }

        public Criteria andCustom2In(List<String> values) {
            addCriterion("custom_2 in", values, "custom2");
            return (Criteria) this;
        }

        public Criteria andCustom2NotIn(List<String> values) {
            addCriterion("custom_2 not in", values, "custom2");
            return (Criteria) this;
        }

        public Criteria andCustom2Between(String value1, String value2) {
            addCriterion("custom_2 between", value1, value2, "custom2");
            return (Criteria) this;
        }

        public Criteria andCustom2NotBetween(String value1, String value2) {
            addCriterion("custom_2 not between", value1, value2, "custom2");
            return (Criteria) this;
        }

        public Criteria andCustom3IsNull() {
            addCriterion("custom_3 is null");
            return (Criteria) this;
        }

        public Criteria andCustom3IsNotNull() {
            addCriterion("custom_3 is not null");
            return (Criteria) this;
        }

        public Criteria andCustom3EqualTo(String value) {
            addCriterion("custom_3 =", value, "custom3");
            return (Criteria) this;
        }

        public Criteria andCustom3NotEqualTo(String value) {
            addCriterion("custom_3 <>", value, "custom3");
            return (Criteria) this;
        }

        public Criteria andCustom3GreaterThan(String value) {
            addCriterion("custom_3 >", value, "custom3");
            return (Criteria) this;
        }

        public Criteria andCustom3GreaterThanOrEqualTo(String value) {
            addCriterion("custom_3 >=", value, "custom3");
            return (Criteria) this;
        }

        public Criteria andCustom3LessThan(String value) {
            addCriterion("custom_3 <", value, "custom3");
            return (Criteria) this;
        }

        public Criteria andCustom3LessThanOrEqualTo(String value) {
            addCriterion("custom_3 <=", value, "custom3");
            return (Criteria) this;
        }

        public Criteria andCustom3Like(String value) {
            addCriterion("custom_3 like", value, "custom3");
            return (Criteria) this;
        }

        public Criteria andCustom3NotLike(String value) {
            addCriterion("custom_3 not like", value, "custom3");
            return (Criteria) this;
        }

        public Criteria andCustom3In(List<String> values) {
            addCriterion("custom_3 in", values, "custom3");
            return (Criteria) this;
        }

        public Criteria andCustom3NotIn(List<String> values) {
            addCriterion("custom_3 not in", values, "custom3");
            return (Criteria) this;
        }

        public Criteria andCustom3Between(String value1, String value2) {
            addCriterion("custom_3 between", value1, value2, "custom3");
            return (Criteria) this;
        }

        public Criteria andCustom3NotBetween(String value1, String value2) {
            addCriterion("custom_3 not between", value1, value2, "custom3");
            return (Criteria) this;
        }

        public Criteria andCustom4IsNull() {
            addCriterion("custom_4 is null");
            return (Criteria) this;
        }

        public Criteria andCustom4IsNotNull() {
            addCriterion("custom_4 is not null");
            return (Criteria) this;
        }

        public Criteria andCustom4EqualTo(String value) {
            addCriterion("custom_4 =", value, "custom4");
            return (Criteria) this;
        }

        public Criteria andCustom4NotEqualTo(String value) {
            addCriterion("custom_4 <>", value, "custom4");
            return (Criteria) this;
        }

        public Criteria andCustom4GreaterThan(String value) {
            addCriterion("custom_4 >", value, "custom4");
            return (Criteria) this;
        }

        public Criteria andCustom4GreaterThanOrEqualTo(String value) {
            addCriterion("custom_4 >=", value, "custom4");
            return (Criteria) this;
        }

        public Criteria andCustom4LessThan(String value) {
            addCriterion("custom_4 <", value, "custom4");
            return (Criteria) this;
        }

        public Criteria andCustom4LessThanOrEqualTo(String value) {
            addCriterion("custom_4 <=", value, "custom4");
            return (Criteria) this;
        }

        public Criteria andCustom4Like(String value) {
            addCriterion("custom_4 like", value, "custom4");
            return (Criteria) this;
        }

        public Criteria andCustom4NotLike(String value) {
            addCriterion("custom_4 not like", value, "custom4");
            return (Criteria) this;
        }

        public Criteria andCustom4In(List<String> values) {
            addCriterion("custom_4 in", values, "custom4");
            return (Criteria) this;
        }

        public Criteria andCustom4NotIn(List<String> values) {
            addCriterion("custom_4 not in", values, "custom4");
            return (Criteria) this;
        }

        public Criteria andCustom4Between(String value1, String value2) {
            addCriterion("custom_4 between", value1, value2, "custom4");
            return (Criteria) this;
        }

        public Criteria andCustom4NotBetween(String value1, String value2) {
            addCriterion("custom_4 not between", value1, value2, "custom4");
            return (Criteria) this;
        }

        public Criteria andCustom5IsNull() {
            addCriterion("custom_5 is null");
            return (Criteria) this;
        }

        public Criteria andCustom5IsNotNull() {
            addCriterion("custom_5 is not null");
            return (Criteria) this;
        }

        public Criteria andCustom5EqualTo(String value) {
            addCriterion("custom_5 =", value, "custom5");
            return (Criteria) this;
        }

        public Criteria andCustom5NotEqualTo(String value) {
            addCriterion("custom_5 <>", value, "custom5");
            return (Criteria) this;
        }

        public Criteria andCustom5GreaterThan(String value) {
            addCriterion("custom_5 >", value, "custom5");
            return (Criteria) this;
        }

        public Criteria andCustom5GreaterThanOrEqualTo(String value) {
            addCriterion("custom_5 >=", value, "custom5");
            return (Criteria) this;
        }

        public Criteria andCustom5LessThan(String value) {
            addCriterion("custom_5 <", value, "custom5");
            return (Criteria) this;
        }

        public Criteria andCustom5LessThanOrEqualTo(String value) {
            addCriterion("custom_5 <=", value, "custom5");
            return (Criteria) this;
        }

        public Criteria andCustom5Like(String value) {
            addCriterion("custom_5 like", value, "custom5");
            return (Criteria) this;
        }

        public Criteria andCustom5NotLike(String value) {
            addCriterion("custom_5 not like", value, "custom5");
            return (Criteria) this;
        }

        public Criteria andCustom5In(List<String> values) {
            addCriterion("custom_5 in", values, "custom5");
            return (Criteria) this;
        }

        public Criteria andCustom5NotIn(List<String> values) {
            addCriterion("custom_5 not in", values, "custom5");
            return (Criteria) this;
        }

        public Criteria andCustom5Between(String value1, String value2) {
            addCriterion("custom_5 between", value1, value2, "custom5");
            return (Criteria) this;
        }

        public Criteria andCustom5NotBetween(String value1, String value2) {
            addCriterion("custom_5 not between", value1, value2, "custom5");
            return (Criteria) this;
        }

        public Criteria andCustom6IsNull() {
            addCriterion("custom_6 is null");
            return (Criteria) this;
        }

        public Criteria andCustom6IsNotNull() {
            addCriterion("custom_6 is not null");
            return (Criteria) this;
        }

        public Criteria andCustom6EqualTo(BigDecimal value) {
            addCriterion("custom_6 =", value, "custom6");
            return (Criteria) this;
        }

        public Criteria andCustom6NotEqualTo(BigDecimal value) {
            addCriterion("custom_6 <>", value, "custom6");
            return (Criteria) this;
        }

        public Criteria andCustom6GreaterThan(BigDecimal value) {
            addCriterion("custom_6 >", value, "custom6");
            return (Criteria) this;
        }

        public Criteria andCustom6GreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("custom_6 >=", value, "custom6");
            return (Criteria) this;
        }

        public Criteria andCustom6LessThan(BigDecimal value) {
            addCriterion("custom_6 <", value, "custom6");
            return (Criteria) this;
        }

        public Criteria andCustom6LessThanOrEqualTo(BigDecimal value) {
            addCriterion("custom_6 <=", value, "custom6");
            return (Criteria) this;
        }

        public Criteria andCustom6In(List<BigDecimal> values) {
            addCriterion("custom_6 in", values, "custom6");
            return (Criteria) this;
        }

        public Criteria andCustom6NotIn(List<BigDecimal> values) {
            addCriterion("custom_6 not in", values, "custom6");
            return (Criteria) this;
        }

        public Criteria andCustom6Between(BigDecimal value1, BigDecimal value2) {
            addCriterion("custom_6 between", value1, value2, "custom6");
            return (Criteria) this;
        }

        public Criteria andCustom6NotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("custom_6 not between", value1, value2, "custom6");
            return (Criteria) this;
        }

        public Criteria andCustom7IsNull() {
            addCriterion("custom_7 is null");
            return (Criteria) this;
        }

        public Criteria andCustom7IsNotNull() {
            addCriterion("custom_7 is not null");
            return (Criteria) this;
        }

        public Criteria andCustom7EqualTo(BigDecimal value) {
            addCriterion("custom_7 =", value, "custom7");
            return (Criteria) this;
        }

        public Criteria andCustom7NotEqualTo(BigDecimal value) {
            addCriterion("custom_7 <>", value, "custom7");
            return (Criteria) this;
        }

        public Criteria andCustom7GreaterThan(BigDecimal value) {
            addCriterion("custom_7 >", value, "custom7");
            return (Criteria) this;
        }

        public Criteria andCustom7GreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("custom_7 >=", value, "custom7");
            return (Criteria) this;
        }

        public Criteria andCustom7LessThan(BigDecimal value) {
            addCriterion("custom_7 <", value, "custom7");
            return (Criteria) this;
        }

        public Criteria andCustom7LessThanOrEqualTo(BigDecimal value) {
            addCriterion("custom_7 <=", value, "custom7");
            return (Criteria) this;
        }

        public Criteria andCustom7In(List<BigDecimal> values) {
            addCriterion("custom_7 in", values, "custom7");
            return (Criteria) this;
        }

        public Criteria andCustom7NotIn(List<BigDecimal> values) {
            addCriterion("custom_7 not in", values, "custom7");
            return (Criteria) this;
        }

        public Criteria andCustom7Between(BigDecimal value1, BigDecimal value2) {
            addCriterion("custom_7 between", value1, value2, "custom7");
            return (Criteria) this;
        }

        public Criteria andCustom7NotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("custom_7 not between", value1, value2, "custom7");
            return (Criteria) this;
        }

        public Criteria andCustom8IsNull() {
            addCriterion("custom_8 is null");
            return (Criteria) this;
        }

        public Criteria andCustom8IsNotNull() {
            addCriterion("custom_8 is not null");
            return (Criteria) this;
        }

        public Criteria andCustom8EqualTo(BigDecimal value) {
            addCriterion("custom_8 =", value, "custom8");
            return (Criteria) this;
        }

        public Criteria andCustom8NotEqualTo(BigDecimal value) {
            addCriterion("custom_8 <>", value, "custom8");
            return (Criteria) this;
        }

        public Criteria andCustom8GreaterThan(BigDecimal value) {
            addCriterion("custom_8 >", value, "custom8");
            return (Criteria) this;
        }

        public Criteria andCustom8GreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("custom_8 >=", value, "custom8");
            return (Criteria) this;
        }

        public Criteria andCustom8LessThan(BigDecimal value) {
            addCriterion("custom_8 <", value, "custom8");
            return (Criteria) this;
        }

        public Criteria andCustom8LessThanOrEqualTo(BigDecimal value) {
            addCriterion("custom_8 <=", value, "custom8");
            return (Criteria) this;
        }

        public Criteria andCustom8In(List<BigDecimal> values) {
            addCriterion("custom_8 in", values, "custom8");
            return (Criteria) this;
        }

        public Criteria andCustom8NotIn(List<BigDecimal> values) {
            addCriterion("custom_8 not in", values, "custom8");
            return (Criteria) this;
        }

        public Criteria andCustom8Between(BigDecimal value1, BigDecimal value2) {
            addCriterion("custom_8 between", value1, value2, "custom8");
            return (Criteria) this;
        }

        public Criteria andCustom8NotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("custom_8 not between", value1, value2, "custom8");
            return (Criteria) this;
        }

        public Criteria andCustom9IsNull() {
            addCriterion("custom_9 is null");
            return (Criteria) this;
        }

        public Criteria andCustom9IsNotNull() {
            addCriterion("custom_9 is not null");
            return (Criteria) this;
        }

        public Criteria andCustom9EqualTo(BigDecimal value) {
            addCriterion("custom_9 =", value, "custom9");
            return (Criteria) this;
        }

        public Criteria andCustom9NotEqualTo(BigDecimal value) {
            addCriterion("custom_9 <>", value, "custom9");
            return (Criteria) this;
        }

        public Criteria andCustom9GreaterThan(BigDecimal value) {
            addCriterion("custom_9 >", value, "custom9");
            return (Criteria) this;
        }

        public Criteria andCustom9GreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("custom_9 >=", value, "custom9");
            return (Criteria) this;
        }

        public Criteria andCustom9LessThan(BigDecimal value) {
            addCriterion("custom_9 <", value, "custom9");
            return (Criteria) this;
        }

        public Criteria andCustom9LessThanOrEqualTo(BigDecimal value) {
            addCriterion("custom_9 <=", value, "custom9");
            return (Criteria) this;
        }

        public Criteria andCustom9In(List<BigDecimal> values) {
            addCriterion("custom_9 in", values, "custom9");
            return (Criteria) this;
        }

        public Criteria andCustom9NotIn(List<BigDecimal> values) {
            addCriterion("custom_9 not in", values, "custom9");
            return (Criteria) this;
        }

        public Criteria andCustom9Between(BigDecimal value1, BigDecimal value2) {
            addCriterion("custom_9 between", value1, value2, "custom9");
            return (Criteria) this;
        }

        public Criteria andCustom9NotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("custom_9 not between", value1, value2, "custom9");
            return (Criteria) this;
        }

        public Criteria andCustom10IsNull() {
            addCriterion("custom_10 is null");
            return (Criteria) this;
        }

        public Criteria andCustom10IsNotNull() {
            addCriterion("custom_10 is not null");
            return (Criteria) this;
        }

        public Criteria andCustom10EqualTo(BigDecimal value) {
            addCriterion("custom_10 =", value, "custom10");
            return (Criteria) this;
        }

        public Criteria andCustom10NotEqualTo(BigDecimal value) {
            addCriterion("custom_10 <>", value, "custom10");
            return (Criteria) this;
        }

        public Criteria andCustom10GreaterThan(BigDecimal value) {
            addCriterion("custom_10 >", value, "custom10");
            return (Criteria) this;
        }

        public Criteria andCustom10GreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("custom_10 >=", value, "custom10");
            return (Criteria) this;
        }

        public Criteria andCustom10LessThan(BigDecimal value) {
            addCriterion("custom_10 <", value, "custom10");
            return (Criteria) this;
        }

        public Criteria andCustom10LessThanOrEqualTo(BigDecimal value) {
            addCriterion("custom_10 <=", value, "custom10");
            return (Criteria) this;
        }

        public Criteria andCustom10In(List<BigDecimal> values) {
            addCriterion("custom_10 in", values, "custom10");
            return (Criteria) this;
        }

        public Criteria andCustom10NotIn(List<BigDecimal> values) {
            addCriterion("custom_10 not in", values, "custom10");
            return (Criteria) this;
        }

        public Criteria andCustom10Between(BigDecimal value1, BigDecimal value2) {
            addCriterion("custom_10 between", value1, value2, "custom10");
            return (Criteria) this;
        }

        public Criteria andCustom10NotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("custom_10 not between", value1, value2, "custom10");
            return (Criteria) this;
        }

        public Criteria andCustom11IsNull() {
            addCriterion("custom_11 is null");
            return (Criteria) this;
        }

        public Criteria andCustom11IsNotNull() {
            addCriterion("custom_11 is not null");
            return (Criteria) this;
        }

        public Criteria andCustom11EqualTo(Integer value) {
            addCriterion("custom_11 =", value, "custom11");
            return (Criteria) this;
        }

        public Criteria andCustom11NotEqualTo(Integer value) {
            addCriterion("custom_11 <>", value, "custom11");
            return (Criteria) this;
        }

        public Criteria andCustom11GreaterThan(Integer value) {
            addCriterion("custom_11 >", value, "custom11");
            return (Criteria) this;
        }

        public Criteria andCustom11GreaterThanOrEqualTo(Integer value) {
            addCriterion("custom_11 >=", value, "custom11");
            return (Criteria) this;
        }

        public Criteria andCustom11LessThan(Integer value) {
            addCriterion("custom_11 <", value, "custom11");
            return (Criteria) this;
        }

        public Criteria andCustom11LessThanOrEqualTo(Integer value) {
            addCriterion("custom_11 <=", value, "custom11");
            return (Criteria) this;
        }

        public Criteria andCustom11In(List<Integer> values) {
            addCriterion("custom_11 in", values, "custom11");
            return (Criteria) this;
        }

        public Criteria andCustom11NotIn(List<Integer> values) {
            addCriterion("custom_11 not in", values, "custom11");
            return (Criteria) this;
        }

        public Criteria andCustom11Between(Integer value1, Integer value2) {
            addCriterion("custom_11 between", value1, value2, "custom11");
            return (Criteria) this;
        }

        public Criteria andCustom11NotBetween(Integer value1, Integer value2) {
            addCriterion("custom_11 not between", value1, value2, "custom11");
            return (Criteria) this;
        }

        public Criteria andCustom12IsNull() {
            addCriterion("custom_12 is null");
            return (Criteria) this;
        }

        public Criteria andCustom12IsNotNull() {
            addCriterion("custom_12 is not null");
            return (Criteria) this;
        }

        public Criteria andCustom12EqualTo(Integer value) {
            addCriterion("custom_12 =", value, "custom12");
            return (Criteria) this;
        }

        public Criteria andCustom12NotEqualTo(Integer value) {
            addCriterion("custom_12 <>", value, "custom12");
            return (Criteria) this;
        }

        public Criteria andCustom12GreaterThan(Integer value) {
            addCriterion("custom_12 >", value, "custom12");
            return (Criteria) this;
        }

        public Criteria andCustom12GreaterThanOrEqualTo(Integer value) {
            addCriterion("custom_12 >=", value, "custom12");
            return (Criteria) this;
        }

        public Criteria andCustom12LessThan(Integer value) {
            addCriterion("custom_12 <", value, "custom12");
            return (Criteria) this;
        }

        public Criteria andCustom12LessThanOrEqualTo(Integer value) {
            addCriterion("custom_12 <=", value, "custom12");
            return (Criteria) this;
        }

        public Criteria andCustom12In(List<Integer> values) {
            addCriterion("custom_12 in", values, "custom12");
            return (Criteria) this;
        }

        public Criteria andCustom12NotIn(List<Integer> values) {
            addCriterion("custom_12 not in", values, "custom12");
            return (Criteria) this;
        }

        public Criteria andCustom12Between(Integer value1, Integer value2) {
            addCriterion("custom_12 between", value1, value2, "custom12");
            return (Criteria) this;
        }

        public Criteria andCustom12NotBetween(Integer value1, Integer value2) {
            addCriterion("custom_12 not between", value1, value2, "custom12");
            return (Criteria) this;
        }

        public Criteria andCustom13IsNull() {
            addCriterion("custom_13 is null");
            return (Criteria) this;
        }

        public Criteria andCustom13IsNotNull() {
            addCriterion("custom_13 is not null");
            return (Criteria) this;
        }

        public Criteria andCustom13EqualTo(Integer value) {
            addCriterion("custom_13 =", value, "custom13");
            return (Criteria) this;
        }

        public Criteria andCustom13NotEqualTo(Integer value) {
            addCriterion("custom_13 <>", value, "custom13");
            return (Criteria) this;
        }

        public Criteria andCustom13GreaterThan(Integer value) {
            addCriterion("custom_13 >", value, "custom13");
            return (Criteria) this;
        }

        public Criteria andCustom13GreaterThanOrEqualTo(Integer value) {
            addCriterion("custom_13 >=", value, "custom13");
            return (Criteria) this;
        }

        public Criteria andCustom13LessThan(Integer value) {
            addCriterion("custom_13 <", value, "custom13");
            return (Criteria) this;
        }

        public Criteria andCustom13LessThanOrEqualTo(Integer value) {
            addCriterion("custom_13 <=", value, "custom13");
            return (Criteria) this;
        }

        public Criteria andCustom13In(List<Integer> values) {
            addCriterion("custom_13 in", values, "custom13");
            return (Criteria) this;
        }

        public Criteria andCustom13NotIn(List<Integer> values) {
            addCriterion("custom_13 not in", values, "custom13");
            return (Criteria) this;
        }

        public Criteria andCustom13Between(Integer value1, Integer value2) {
            addCriterion("custom_13 between", value1, value2, "custom13");
            return (Criteria) this;
        }

        public Criteria andCustom13NotBetween(Integer value1, Integer value2) {
            addCriterion("custom_13 not between", value1, value2, "custom13");
            return (Criteria) this;
        }

        public Criteria andCustom14IsNull() {
            addCriterion("custom_14 is null");
            return (Criteria) this;
        }

        public Criteria andCustom14IsNotNull() {
            addCriterion("custom_14 is not null");
            return (Criteria) this;
        }

        public Criteria andCustom14EqualTo(Integer value) {
            addCriterion("custom_14 =", value, "custom14");
            return (Criteria) this;
        }

        public Criteria andCustom14NotEqualTo(Integer value) {
            addCriterion("custom_14 <>", value, "custom14");
            return (Criteria) this;
        }

        public Criteria andCustom14GreaterThan(Integer value) {
            addCriterion("custom_14 >", value, "custom14");
            return (Criteria) this;
        }

        public Criteria andCustom14GreaterThanOrEqualTo(Integer value) {
            addCriterion("custom_14 >=", value, "custom14");
            return (Criteria) this;
        }

        public Criteria andCustom14LessThan(Integer value) {
            addCriterion("custom_14 <", value, "custom14");
            return (Criteria) this;
        }

        public Criteria andCustom14LessThanOrEqualTo(Integer value) {
            addCriterion("custom_14 <=", value, "custom14");
            return (Criteria) this;
        }

        public Criteria andCustom14In(List<Integer> values) {
            addCriterion("custom_14 in", values, "custom14");
            return (Criteria) this;
        }

        public Criteria andCustom14NotIn(List<Integer> values) {
            addCriterion("custom_14 not in", values, "custom14");
            return (Criteria) this;
        }

        public Criteria andCustom14Between(Integer value1, Integer value2) {
            addCriterion("custom_14 between", value1, value2, "custom14");
            return (Criteria) this;
        }

        public Criteria andCustom14NotBetween(Integer value1, Integer value2) {
            addCriterion("custom_14 not between", value1, value2, "custom14");
            return (Criteria) this;
        }

        public Criteria andCustom15IsNull() {
            addCriterion("custom_15 is null");
            return (Criteria) this;
        }

        public Criteria andCustom15IsNotNull() {
            addCriterion("custom_15 is not null");
            return (Criteria) this;
        }

        public Criteria andCustom15EqualTo(Integer value) {
            addCriterion("custom_15 =", value, "custom15");
            return (Criteria) this;
        }

        public Criteria andCustom15NotEqualTo(Integer value) {
            addCriterion("custom_15 <>", value, "custom15");
            return (Criteria) this;
        }

        public Criteria andCustom15GreaterThan(Integer value) {
            addCriterion("custom_15 >", value, "custom15");
            return (Criteria) this;
        }

        public Criteria andCustom15GreaterThanOrEqualTo(Integer value) {
            addCriterion("custom_15 >=", value, "custom15");
            return (Criteria) this;
        }

        public Criteria andCustom15LessThan(Integer value) {
            addCriterion("custom_15 <", value, "custom15");
            return (Criteria) this;
        }

        public Criteria andCustom15LessThanOrEqualTo(Integer value) {
            addCriterion("custom_15 <=", value, "custom15");
            return (Criteria) this;
        }

        public Criteria andCustom15In(List<Integer> values) {
            addCriterion("custom_15 in", values, "custom15");
            return (Criteria) this;
        }

        public Criteria andCustom15NotIn(List<Integer> values) {
            addCriterion("custom_15 not in", values, "custom15");
            return (Criteria) this;
        }

        public Criteria andCustom15Between(Integer value1, Integer value2) {
            addCriterion("custom_15 between", value1, value2, "custom15");
            return (Criteria) this;
        }

        public Criteria andCustom15NotBetween(Integer value1, Integer value2) {
            addCriterion("custom_15 not between", value1, value2, "custom15");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}